<template>
  <div class="wrap">
    <h1>{{title}}分类</h1>
    <!-- 插槽标签 -->
    <slot name="content"></slot>
    <div>
        <slot name="footer">底部标签</slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "Tap",
  props:["title"]
};
</script>

<style>
.wrap{
    margin: 0;
    padding: 0;
    width: 230px;
    height: 300px;
    border-radius: 20px;
    background-color: skyblue;
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    align-items: center;
    
}
.wrap h1{
    width: 100%;
    text-align: center;
    background-color: rgba(255, 242, 188, 0.521);
}
</style>